<template>
    <div>
        <van-sticky>
            <van-nav-bar title="我的订单" left-text="返回" left-arrow @click-left="onClickLeft" />
        </van-sticky>
    </div>
</template>
<script>
import { userOrder } from "@/service/user/userLogin"
import nav from "@/mixin/nav"
export default {
    mixins: [nav],
    methods: {
        onClickLeft() {
            this.$router.go(-1);
        }
    },
    async created() {
        let { data } = await userOrder();
        console.log(data);
    }
}

</script>